package com.ysstech.valuation.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 债券票面金额信息表
 * </p>
 *
 * @author lishuangliang
 * @since 2021-08-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("VAL_BOND_FACE_MONEY_INFO")
public class BondFaceMoneyInfo extends Model<BondFaceMoneyInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 债券票面金额主键
     */
    @TableField("ID")
    private String id;

    /**
     * 证券代码
     */
    @TableField("SECURITY_CODE")
    private String securityCode;

    /**
     * 证券名称
     */
    @TableField("SECURITY_NAME")
    private String securityName;

    /**
     * 调息起始日
     */
    @TableField("START_ADJUST_RATE_DATE")
    private LocalDate startAdjustRateDate;

    /**
     * 调息截止日
     */
    @TableField("END_ADJUST_RATE_DATE")
    private LocalDate endAdjustRateDate;

    /**
     * 票面金额
     */
    @TableField("FACE_MONEY")
    private BigDecimal faceMoney;

    /**
     * 还本金额
     */
    @TableField("REPAYMENT_MONEY")
    private BigDecimal repaymentMoney;

    /**
     * 状态
     */
    @TableField("STATUS")
    private BigDecimal status;

    /**
     * 添加时间
     */
    @TableField("ADD_TIME")
    private LocalDateTime addTime;

    /**
     * 添加人
     */
    @TableField("ADD_USER")
    private String addUser;

    /**
     * 修改时间
     */
    @TableField("EDIT_TIME")
    private LocalDateTime editTime;

    /**
     * 修改人
     */
    @TableField("EDIT_USER")
    private String editUser;

    /**
     * 删除原因
     */
    @TableField("DELETE_REASON")
    private String deleteReason;

    @Override
    protected Serializable pkVal() {
        return null;
    }

}
